<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@include file="page/common.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="./ext/resources/css/ext-all.css">
    <script type="text/javascript" src="./ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="./ext/ext-all.js"></script>
  </head>
  
  <body>
     <div id="hello" style="border: 1px solid red" id="uploadFile" align="center">
        
     </div>
  </body>
  
  <script type="text/javascript">
     Ext.onReady(function(){
          //Ext.MessageBox.alert("hello","hello, nihao ppppppppppppppppppppppp");
          
          //var window = new Ext.Window({title:"hello",width:"500",height:200,html:"<font color=red>hello ,java world</font>"});
          //window.show();
          
          var obj = {"title":"hello",width: 300,height: 300,html: "hello,java world"};
          var panel = new Ext.Panel(obj);
          panel.render("hello");
          
     });
  </script>
</html>
